import request from '@/utils/request'

export interface promotionRequest {
  openid: string
  projectId: number
  promotionArrayObject: Array<{
    school: number
    schoolMajor: number
  }>
}

export function adminPromotionService(data: promotionRequest) {
  return request.post('/admin/promotion', data)
}
